package org.br.erp.rfq.service;

import org.br.erp.rfq.entity.Scminquiryitem;
import org.br.erp.rfq.entity.Scminquiry;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 询价单
 * @Author: jeecg-boot
 * @Date:   2023-01-13
 * @Version: V1.0
 */
public interface IScminquiryService extends IService<Scminquiry> {

	/**
	 * 添加一对多
	 *
	 * @param scminquiry
	 * @param scminquiryitemList
	 */
	public void saveMain(Scminquiry scminquiry,List<Scminquiryitem> scminquiryitemList) ;
	
	/**
	 * 修改一对多
	 *
   * @param scminquiry
   * @param scminquiryitemList
	 */
	public void updateMain(Scminquiry scminquiry,List<Scminquiryitem> scminquiryitemList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
